package com.cy.ppj.model.ao.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @Description 新增商品品类字段
 * @Author tanyilin
 * @Date 2019/9/27 15:01
 */
@Data
@ApiModel("新增商品类别字段")
public class GoodsTypeAddAO {

    @ApiModelProperty(value = "品类名称")
    @NotEmpty(message = "品类名称不可为空")
    private String name;

    @ApiModelProperty(value = "排序", example = "0")
    private Integer      weight;

    @ApiModelProperty(value = "logo图片地址")
    @NotEmpty(message = "logo图片地址不可为空")
    private String logo;
}
